<div class="title">
	<span>Chat with client <?php echo $client->firstname.' '.$client->lastname;?></span>
	<div class="clear">&nbsp;</div>
</div>

<div class="margin">
	<?php if(!isset($disabled)):?>
	<div class="chat-box" id="s_chat_box">
		<div class="cbox"></div>
	</div>
	
	<div class="chat-contorl">
		<div class="chat-input"><label>Message: </label> <textarea id="s_msg" class="grid_4"></textarea><a href="#" class="dbtn send" id="s_send">Send</a><div class="clear">&nbsp;</div></div>
		<input type="hidden" name="booking_id" id="booking_id" value="<?php echo $booking_id; ?>"/>
		<input type="hidden" name="my_id" id="my_id" value="<?php echo $this->session->userdata('stylist_id') ?>">
		<input type="hidden" name="client_name" id="client_name" value="<?php echo $client->firstname.' '.$client->lastname;?>"
	</div>
	<?php else: ?>
		<div class="msg notice"><span></span><h5>Notice</h5>Chat is not available this time please wait for the specified date and time</div>
	
	<?php endif;?>
	<div class="clear">&nbsp;</div>
</div>